package com.gudaomai.wuye.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

import com.gudaomai.wuye.core.WuyeBaseMapper;
import com.gudaomai.wuye.entity.CommRegion;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zenghualu
 * @since 2017-08-18
 */
public interface CommRegionMapper extends WuyeBaseMapper<CommRegion> {

	@Select("select * from tb_comm_region commregion where commregion.type = #{type}")
	List<CommRegion> selectAllByType(@PathVariable String type );

     
}